package com.ruoyi.caiwu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.caiwu.domain.CwPayOrder;
import com.ruoyi.caiwu.domain.CwPayOrderVo;
import com.ruoyi.caiwu.service.CwPayOrderService;
import com.ruoyi.caiwu.mapper.CwPayOrderMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86182
* @description 针对表【t_cw_pay_order(支付订单表（支付流水信息）)】的数据库操作Service实现
* @createDate 2023-05-04 08:12:16
*/
@Service
public class CwPayOrderServiceImpl extends ServiceImpl<CwPayOrderMapper, CwPayOrder>
    implements CwPayOrderService{

    @Override
    public IPage<CwPayOrder> searchTradingFlow(Page page, CwPayOrderVo cwPayOrderVo) {
        return this.baseMapper.searchTradingFlow(page,cwPayOrderVo);
    }

    @Override
    public CwPayOrder selectById(long payOrderId) {
        return this.baseMapper.getById(payOrderId);
    }

    @Override
    public CwPayOrder selectPayOrderByOrderNo(String orderNo) {
        return this.baseMapper.selectPayOrderByOrderNo(orderNo);
    }
}




